// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class OriData : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<OriData, MasterDbContextLocator>
    {

        public long Id { get; set; }
        public string dtuId { get; set; }
        public string alias { get; set; }
        public bool? bToDtu { get; set; }
        public string cnt { get; set; }
        public byte? msgType { get; set; }
        public DateTime? dtOccur { get; set; }
        public string msgTypeStr { get; set; }
    
        public void Configure(EntityTypeBuilder<OriData> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
               

                entityBuilder.Property(e => e.alias).HasMaxLength(200);

                entityBuilder.Property(e => e.cnt).HasColumnType("ntext");

                entityBuilder.Property(e => e.dtOccur).HasColumnType("datetime");

                entityBuilder.Property(e => e.dtuId).HasMaxLength(50);

                entityBuilder.Property(e => e.msgTypeStr).HasMaxLength(20);
        }

    }
}

